﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>测试数据</title>
</head>
<body>
    <form id="form1" runat="server">
    <div style = "text-align:center;margin-top:100px">
    
        <span style = "font-size:50px;color:Blue;">图书管理系统</span><br />

    
    </div>
    <hr />
    <div style = "text-align:center;margin-top:20px">
        <span>登录名：</span>
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="TextBox1" ErrorMessage="登录名不能为空"></asp:RequiredFieldValidator>
        <br /><br />
         <span>密    码： </span>
         &nbsp;<asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox> 
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="TextBox2" ErrorMessage="密码不能为空"></asp:RequiredFieldValidator>
        <br />
    </div>
    <br />
    <div style = "text-align:center;">
        <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow" style="margin:auto">
            <asp:ListItem Value="1">读者</asp:ListItem>
            <asp:ListItem Value="2">管理员</asp:ListItem>
        </asp:RadioButtonList>
    </div>
    <div style = "text-align:center;margin-top:20px">
        <asp:Button ID="Button1" runat="server" Text="登录" 
            onclientclick="Button1_Click" />
    </div>
    </form>
    
</body>
</html>
